/**
 * @filename:OtherinspectService Apr 11, 2025
 * @project Wonder Vue Admin Api  1.1.0
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.service;
import com.wonder.app.domain.Otherinspect;
import com.wonder.app.domain.Warehouse;
import com.wonder.app.request.OtherinspectRequest;
import com.wonder.common.common.AjaxResult;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Map;
/**   
 * @Description:TODO(其他入库质检服务层)
 * @version: 1.1.0
 * @author: Wonder
 * 
 */
public interface OtherinspectService extends IService<Otherinspect> {

    
    /**
     * 验证其他入库质检信息
     * 
     * @param otherinspect
     * @param type
     * @return 结果
     */
    public String validate(Otherinspect otherinspect,String type);   
   
	
	 /**
	 * Description:其他入库质检分页返回
	 * @param request//检索条件
	 * @param page//分页参数
	 * @return IPage<Otherinspect>   //分页记录
	 */
    public IPage<Otherinspect> selectList(OtherinspectRequest request, Page<Otherinspect> page);


	/**
	 * 其它入检验单列表(手机端)
	 * @param map
	 * @return
	 */
	Map<String, Object> getOtherInspectList(Map<String, Object> map);

	/**
	 * 其他检验单详情(手机端)
	 * @param map
	 * @return
	 */
    Map<String, Object> getInspectDetailPhone(Map<String, Object> map);
	/**
	 * 其他检验单详情(中台)
	 * @param map
	 * @return
	 */
	Map<String, Object> getOtherInspectDetail(Map<String, Object> map);

	/**
	 * 修改其他质检是否检查
	 * @param userName
	 * @param map
	 * @return
	 */
	boolean changeOtherInspectIsChecked(String userName, Map<String, Object> map);

	/**
	 * 审核其他质检
	 * @param userName
	 * @param map
	 * @return
	 */
	boolean auditOtherInspect(String userName, Map<String, Object> map) throws Exception;
}
